Language code
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
top
A language code is a code that assigns letters or numbers as identifiers or classifiers for languages. These codes may be used to organize library collections or presentations of data, to choose the correct localizations and translations in computing, and as a shorthand designation for longer forms of language names.
Contents
β’ Common schemes
β’ See also
β’ References
β’ External links
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Difficulties of classification
For example, Spanish is spoken in over 20 countries in North America, Central America, the Caribbean, and Europe. Spanish spoken in Mexico will be slightly different from Spanish spoken in Peru. Different regions of Mexico will have slightly different dialects and accents of Spanish. A language code scheme might group these all as "Spanish" for choosing a keyboard layout, most as "Spanish" for general usage, or separate each dialect to allow region-specific variation.
Common schemes
| Scheme | Notes |
|---|---|
| Glottolog codes | Created for minority languages as a sci⦠|
| IETF language tag | An IETF best practice, specified by BCP⦠|
| ISO 639β1 | Two-letter code system made official inβ¦ |
| ISO 639β2 | Three-letter system of 464 codes. See:β¦ |
| ISO 639β3 | An extension of ISO 639β2 to cover allβ¦ |
| Linguasphere Register code-system | Two-digit + one to six letter Linguasph⦠|
| SIL codes (10thβ14th editions) | Codes created for use in the Ethnologueβ¦ |
| Verbix language codes | Constructed codes starting with old SIL⦠|
| Scheme | Examples for English |
|---|---|
| Glottolog codes | stan1293 β standard English macr1271 ββ¦ |
| IETF language tag | en β English, as shortest ISO 639 code.β¦ |
| ISO 639β1 | en |
| ISO 639β2 | eng β three-letter code enm β Middle Enβ¦ |
| ISO 639β3 | eng β three-letter code enm β Middle Enβ¦ |
| Linguasphere Register code-system | Within hierarchy of Linguasphere Regist⦠|
| SIL codes (10thβ14th editions) | ENG |
| Verbix language codes | ENG |
| Scheme | Examples for Spanish |
|---|---|
| Glottolog codes | stan1288 β standard Spanish olds1249 ββ¦ |
| IETF language tag | es β Spanish, as shortest ISO 639 code.β¦ |
| ISO 639β1 | es β Spanish |
| ISO 639β2 | spa β Spanish |
| ISO 639β3 | spa β Spanish spq β Spanish, Loreto-Ucaβ¦ |
| Linguasphere Register code-system | Within hierarchy of Linguasphere Regist⦠|
| SIL codes (10thβ14th editions) | SPN |
| Verbix language codes | SPN |
See also
β’ Accept-Language
β’ Country code
β’ List of ISO 639-1 codes - codes for common languages
β’ List of ISO 639-2 codes - expanded 3 character code list of all languages coded by ISO
References
cite-note-rfc-11. "Information on BCP 47 Β» RFC Editor".
cite-note-22. "The Linguasphere Register in PDF". lβObservatoire linguistique (Linguasphere Observatory). Archived from the original on 27 April 2015. Retrieved 20 April 2015.
cite-note-33. Verbix language codes Archived 2009-04-01 at the Wayback Machine, Verbix
External links